package com.example.api.service;

import com.example.api.model.entity.Employee;
import com.example.api.model.support.RespBean;

import java.util.List;

public interface EmployeeService {

    RespBean save(Employee employee);

    RespBean update(Employee employee);

    RespBean delete(Integer id);

    Employee findById(Integer id);

    List<Employee> findAll(String name);

    List<Employee> findByWarehouse();

}
